import yaml

with open("./config.yaml", 'r', encoding='utf-8') as ymlfile:
    cfg = yaml.load(ymlfile, Loader=yaml.SafeLoader)